package org.byqh.dqeai.entity.proxy;

import com.easy.query.core.expression.parser.core.available.TableAvailable;
import com.easy.query.core.proxy.AbstractProxyEntity;
import com.easy.query.core.proxy.SQLColumn;
import com.easy.query.core.proxy.SQLSelectAsExpression;
import com.easy.query.core.proxy.fetcher.AbstractFetcher;
import com.easy.query.core.proxy.core.EntitySQLContext;
import org.byqh.dqeai.entity.SysSetup;
import com.easy.query.core.proxy.columns.types.SQLStringTypeColumn;
import com.easy.query.core.proxy.columns.types.SQLLocalDateTimeTypeColumn;

/**
 * this file automatically generated by easy-query, don't modify it
 * 当前文件是easy-query自动生成的请不要随意修改
 * 如果出现属性冲突请使用@ProxyProperty进行重命名
 *
 * @author easy-query
 */
public class SysSetupProxy extends AbstractProxyEntity<SysSetupProxy, SysSetup> {

    private static final Class<SysSetup> entityClass = SysSetup.class;

    public static final SysSetupProxy TABLE = createTable().createEmpty();

    public static SysSetupProxy createTable() {
        return new SysSetupProxy();
    }

    public SysSetupProxy() {
    }

    /**
     * {@link SysSetup#getSetupId}
     */
    public SQLStringTypeColumn<SysSetupProxy> setupId() {
        return getStringTypeColumn("setupId");
    }

    /**
     * {@link SysSetup#getSetupName}
     */
    public SQLStringTypeColumn<SysSetupProxy> setupName() {
        return getStringTypeColumn("setupName");
    }

    /**
     * {@link SysSetup#getRunAppName}
     */
    public SQLStringTypeColumn<SysSetupProxy> runAppName() {
        return getStringTypeColumn("runAppName");
    }

    /**
     * {@link SysSetup#getRunAppArgs}
     */
    public SQLStringTypeColumn<SysSetupProxy> runAppArgs() {
        return getStringTypeColumn("runAppArgs");
    }

    /**
     * {@link SysSetup#getRunAppStyle}
     */
    public SQLStringTypeColumn<SysSetupProxy> runAppStyle() {
        return getStringTypeColumn("runAppStyle");
    }

    /**
     * {@link SysSetup#getRunAppType}
     */
    public SQLStringTypeColumn<SysSetupProxy> runAppType() {
        return getStringTypeColumn("runAppType");
    }

    /**
     * {@link SysSetup#getRunAppShortcut}
     */
    public SQLStringTypeColumn<SysSetupProxy> runAppShortcut() {
        return getStringTypeColumn("runAppShortcut");
    }

    /**
     * {@link SysSetup#getRunAppDbid}
     */
    public SQLStringTypeColumn<SysSetupProxy> runAppDbid() {
        return getStringTypeColumn("runAppDbid");
    }

    /**
     * {@link SysSetup#getUpdateUrl}
     */
    public SQLStringTypeColumn<SysSetupProxy> updateUrl() {
        return getStringTypeColumn("updateUrl");
    }

    /**
     * {@link SysSetup#getCreateDate}
     */
    public SQLLocalDateTimeTypeColumn<SysSetupProxy> createDate() {
        return getLocalDateTimeTypeColumn("createDate");
    }

    /**
     * {@link SysSetup#getCreateUserId}
     */
    public SQLStringTypeColumn<SysSetupProxy> createUserId() {
        return getStringTypeColumn("createUserId");
    }

    /**
     * {@link SysSetup#getUpdateDate}
     */
    public SQLLocalDateTimeTypeColumn<SysSetupProxy> updateDate() {
        return getLocalDateTimeTypeColumn("updateDate");
    }

    /**
     * {@link SysSetup#getUpdateUserId}
     */
    public SQLStringTypeColumn<SysSetupProxy> updateUserId() {
        return getStringTypeColumn("updateUserId");
    }

    @Override
    public Class<SysSetup> getEntityClass() {
        return entityClass;
    }

    /**
     * 数据库列的简单获取
     *
     * @return
     */
    public SysSetupProxyFetcher FETCHER = new SysSetupProxyFetcher(this, null, SQLSelectAsExpression.empty);

    public static class SysSetupProxyFetcher extends AbstractFetcher<SysSetupProxy, SysSetup, SysSetupProxyFetcher> {

        public SysSetupProxyFetcher(SysSetupProxy proxy, SysSetupProxyFetcher prev, SQLSelectAsExpression sqlSelectAsExpression) {
            super(proxy, prev, sqlSelectAsExpression);
        }

        /**
         * {@link SysSetup#getSetupId}
         */
        public SysSetupProxyFetcher setupId() {
            return add(getProxy().setupId());
        }

        /**
         * {@link SysSetup#getSetupName}
         */
        public SysSetupProxyFetcher setupName() {
            return add(getProxy().setupName());
        }

        /**
         * {@link SysSetup#getRunAppName}
         */
        public SysSetupProxyFetcher runAppName() {
            return add(getProxy().runAppName());
        }

        /**
         * {@link SysSetup#getRunAppArgs}
         */
        public SysSetupProxyFetcher runAppArgs() {
            return add(getProxy().runAppArgs());
        }

        /**
         * {@link SysSetup#getRunAppStyle}
         */
        public SysSetupProxyFetcher runAppStyle() {
            return add(getProxy().runAppStyle());
        }

        /**
         * {@link SysSetup#getRunAppType}
         */
        public SysSetupProxyFetcher runAppType() {
            return add(getProxy().runAppType());
        }

        /**
         * {@link SysSetup#getRunAppShortcut}
         */
        public SysSetupProxyFetcher runAppShortcut() {
            return add(getProxy().runAppShortcut());
        }

        /**
         * {@link SysSetup#getRunAppDbid}
         */
        public SysSetupProxyFetcher runAppDbid() {
            return add(getProxy().runAppDbid());
        }

        /**
         * {@link SysSetup#getUpdateUrl}
         */
        public SysSetupProxyFetcher updateUrl() {
            return add(getProxy().updateUrl());
        }

        /**
         * {@link SysSetup#getCreateDate}
         */
        public SysSetupProxyFetcher createDate() {
            return add(getProxy().createDate());
        }

        /**
         * {@link SysSetup#getCreateUserId}
         */
        public SysSetupProxyFetcher createUserId() {
            return add(getProxy().createUserId());
        }

        /**
         * {@link SysSetup#getUpdateDate}
         */
        public SysSetupProxyFetcher updateDate() {
            return add(getProxy().updateDate());
        }

        /**
         * {@link SysSetup#getUpdateUserId}
         */
        public SysSetupProxyFetcher updateUserId() {
            return add(getProxy().updateUserId());
        }

        @Override
        protected SysSetupProxyFetcher createFetcher(SysSetupProxy cp, AbstractFetcher<SysSetupProxy, SysSetup, SysSetupProxyFetcher> prev, SQLSelectAsExpression sqlSelectExpression) {
            return new SysSetupProxyFetcher(cp, this, sqlSelectExpression);
        }
    }
}
